package middleware

//
//import (
//	"fmt"
//	"net/http"
//)
//
//type AuthTokenMiddleware struct {
//}
//
//func NewAuthTokenMiddleware() *AuthTokenMiddleware {
//	return &AuthTokenMiddleware{}
//}
//
//func (m *AuthTokenMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc {
//	return func(w http.ResponseWriter, r *http.Request) {
//		// TODO generate middleware implement function, delete after code implementation
//		fmt.Println("我是中间件")
//		//pkg.GetJwtToken("2205Ayuanzheng", time.Now().UnixNano(), time.Hour*24, "login")
//		// Passthrough to next handler if need
//		next(w, r)
//	}
//}
